﻿@using LunwenYun.Infrastructure.Entities.Entity;
@using LunwenYun.Tool.Configration;
@{
    Layout = "~/Views/Shared/_m_Main.cshtml";
    Article article = ViewBag.Article;
    Trade trade = ViewBag.Trade;
    User user = ViewBag.Provider;
    bool isSuccess = ViewBag.PayResult;
}
@section head{
    <link rel="stylesheet" type="text/css" href="/content/css/css_col4.css" />
}
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            @if (isSuccess)
            {
                <div class="alert alert-success alert-block" style="height: 120px;">
                    <div class="span2" style="padding-left: 30px;">
                        <img alt="success" style="width: 80px; height: 80px; text-align: right;" src="/Content/img/opt_success.png" />
                    </div>
                    <div class="span10">
                        <div class="span12" style="margin-bottom: 5px; padding-bottom:5px; border-bottom:1px solid #ddd;">
                            <strong style="color: green;">恭喜你，支付成功 ！</strong><br />
                            <div style="color: black; font-family: 微软雅黑; padding-top: 5px;">
                                您已经成功支付，约稿人将很快收到您的支付信息，并根据协议为您安排论文发表！</div>
                        </div>
                        <div class="span12" style="padding-top: 20px; margin-left: 0">
                            <a href="/m/myorders">返回我的约稿>></a>
                        </div>
                    </div>
                </div>
            }
            else
            {
                <div class="alert alert-block" style="height: 120px;">
                    <div class="span2" style="padding-left: 30px;">
                        <img alt="error" style="width: 80px; height: 80px; text-align: right;" src="/Content/img/opt_error.png" />
                    </div>
                    <div class="span10">
                        <div class="span12" style="margin-bottom: 5px; padding-bottom:5px; border-bottom:1px solid #ddd;">
                            <strong style="color: maroon;">对不起，支付失败 ！</strong><br />
                            <div style="color: black; font-family: 微软雅黑; padding-top: 5px;">@ViewBag.Message 如有疑问请尽快与管理员联系</div>
                            <div>
                                @for (int i = 0, len = SiteResource.AdminQQ.Length; i < len; i++)
                                {
                                    <span>管理员@(i + 1)：</span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=@SiteResource.AdminQQ[i]&amp;site=qq&amp;menu=yes">
                                        <img border="0" src="http://wpa.qq.com/pa?p=2:@SiteResource.AdminQQ[i]:41" alt="点击这里给我发消息" title="点击这里给我发消息" />
                                    </a>
                                    @:&nbsp;&nbsp;
                                                                }
                            </div>
                        </div>
                        <div class="span12" style="padding-top: 20px; margin-left: 0">
                            <a href="/m/myorders">返回我的约稿>></a>
                        </div>
                    </div>
                </div>
            }
        </div>
    </div>
</div>
